home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Mail / pine3.92 / pine / osdep / scroll.win < prev    next >
Text File  |  1995-03-16  |  722b  |  54 lines

  1. #line 2 "osdep/scroll.win"
  2. /*----------------------------------------------------------------------
  3.     
  4.     Map generic scroll routines to mswin_* scroll routines.
  5. */
  6.  
  7. /*
  8.  * Set the range of the scroll bar.  
  9.  * zero disables the scroll bar.
  10.  */
  11. void
  12. scroll_setrange (rangeend)
  13.     long rangeend;
  14. {
  15.     mswin_setscrollrange (rangeend);
  16. }
  17.  
  18.  
  19.  
  20. /*
  21.  * Set the current position of the scroll bar.
  22.  */
  23. void
  24. scroll_setpos (newpos)
  25.     long newpos;
  26. {
  27.     mswin_setscrollpos (newpos);
  28. }
  29.  
  30.  
  31.  
  32. /*
  33.  * Get the current position of the scroll bar.
  34.  */
  35. long
  36. scroll_getpos ()
  37. {
  38.     return (mswin_getscrollpos ());
  39. }
  40.  
  41.  
  42.  
  43.  
  44. /*
  45.  * Get the position we were told to scroll to.
  46.  */
  47. long
  48. scroll_getscrollto ()
  49. {
  50.     return (mswin_getscrollto());
  51. }
  52.  
  53.  
  54.